import { Module } from '@nestjs/common';
import { UsersService } from './users.service';
import { TypeOrmModule } from "@nestjs/typeorm";
import { AccountEntity } from "./entity/account.entity";
import { UserEntity } from "./entity/user.entity";
import { UsersController } from "./users.controller";
import { AuthService } from "../auth/auth.service";

@Module({
  imports:[
    TypeOrmModule.forFeature([AccountEntity,UserEntity]),
  ],
  providers: [UsersService],
  controllers:[UsersController],
  exports:[UsersService]
})
export class UsersModule {}
